
<%--
  Created by IntelliJ IDEA.
  User: 若兮
  Date: 2021/12/27
  Time: 9:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>添加简历</title>
    <link href="layui/css/layui.css" rel="stylesheet">
</head>
<body class="layui-anim layui-anim-downbit">
<form class="layui-form" action="${pageContext.request.contextPath}/addResume">
    <div class="layui-form-item">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-block">
            <input type="text" name="name" placeholder="请输入姓名" required lay-verify="required" lay-reqtext="必填项，岂能为空？" autocomplete="off"  class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-block">
            <input name="sex" value="男" type="radio" title="男">
            <input name="sex" value="女" type="radio" title="女">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">生日</label>
        <div class="layui-input-block">
            <input type="text" name="birth" class="layui-input" id="birth" >
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">申请岗位</label>
        <div class="layui-input-block">
            <select name="job" required lay-verify="required">
                <option value=""></option>
                <option value="保洁阿姨">保洁阿姨</option>
                <option value="保安">保安</option>
                <option value="普通员工">普通员工</option>
                <option value="经理">经理</option>
                <option value="主管">主管</option>
                <option value="HR">HR</option>
                <option value="高级技工">高级技工</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">申请部门</label>
        <div class="layui-input-block">
            <select name="dName" required lay-verify="required">
                <option value=""></option>
                <option value="财务部">财务部</option>
                <option value="研发部">研发部</option>
                <option value="市场部">市场部</option>
                <option value="行政部">行政部</option>
                <option value="培训部">培训部</option>
                <option value="动漫部">动漫部</option>
                <option value="商务部">商务部</option>
                <option value="后勤部">后勤部</option>
                <option value="人事部">人事部</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">政治面貌</label>
        <div class="layui-input-block">
            <select name="mianmao" required lay-verify="required">
                <option value=""></option>
                <option value="党员">党员</option>
                <option value="团员">团员</option>
                <option value="群众">群众</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">毕业院校</label>
        <div class="layui-input-block">
            <input type="text" name="collage" lay-reqtext="必填项，岂能为空？" required lay-verify="required"  autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">经历</label>
        <div class="layui-input-block">
            <textarea class="layui-textarea" id="exps" name="expensive"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">证书</label>
        <div class="layui-input-block">
            <textarea class="layui-textarea" id="zs" name="zhengshu"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="submit" class="layui-btn" lay-submit="" >立即提交</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="layui/layui.js"></script>
<script type="text/javascript" src="js/jquery-3.6.0.js"></script>
<script>
    layui.use('laydate', function(){
        var laydate = layui.laydate;

        //执行一个laydate实例
        laydate.render({
            elem: '#birth' //指定元素
            ,type:'datetime'
        });
    });
</script>
</body>
</html>
